<?php
   $mtime = microtime();
   $mtime = explode(" ",$mtime);
   $mtime = $mtime[1] + $mtime[0];
   $starttime = $mtime;
ini_set('display_errors', 1);

$dbhost = 'localhost';
$dbuser   = 'root';
$dbpassword = '';
$database = 'BuddhaV1';

$db = mysql_connect($dbhost, $dbuser, $dbpassword) or die("Connection Error: " . mysql_error()); 
mysql_select_db($database) or die("Error conecting to db."); 

$result = mysql_query("SELECT * FROM users limit 100000"); 
while($row = mysql_fetch_array($result,MYSQL_ASSOC)) { 
					 echo "User_ID: " . $row['id'] . " facebook_id: " . $row['facebook_id'] . " First_Name: " . $row['first_name'] . " Last_Name: " . $row['last_name']  . " EmailAddr: " . $row['TRIAL_COLUMN6'];
					 echo "<br />\n";
}
$mtime = microtime();
   $mtime = explode(" ",$mtime);
   $mtime = $mtime[1] + $mtime[0];
   $endtime = $mtime;
   $totaltime = ($endtime - $starttime);
   echo "This page was generated in ".$totaltime." seconds"; 
?>